/*
 * @Description: 
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2021-08-17 18:53:10
 * @LastEditTime: 2021-11-25 15:04:28
 * @FilePath: \cscec-pms-admin\src\api\project\feedback.js
 */
import request from '@/utils/request'
import { projectApiUrl, faceApiUrl } from '../config'
/**
 * 节点管控信息反馈列表
 * @param parameter
 */
export function getFeedbacksList(parameter) {
  return request({
    url: faceApiUrl + '/schedule-work-feedback/query-list',
    method: 'post',
    data: parameter
  })
}

/**
 * 查看节点管控信息反馈详情
 * @param typeId
 */
export function getFeedbacksOne(id) {
  return request({
    url: projectApiUrl + '/construction/details-feedback/' + id,
    method: 'get',
    id
  })
}

/**
 * 查看节点管控信息反馈统计
 * @param typeId
 */
export function getFeedbacksTotal(data) {
  return request({
    url: faceApiUrl + '/schedule-work-feedback/query-total',
    method: 'post',
    data
  })
}

/**
 * 新增节点管控信息反馈
 * @param data
 */
export function addFeedbacks(data) {
  return request({
    url: projectApiUrl + '/construction/node-feedback',
    method: 'post',
    data: data
  })
}

